package com.wgy.day11.类和对象;

public class Demo02Student {
    public static void main(String[] args) {
        Student stu=new Student();

        stu.setName("鹿晗");
        stu.setAge(20);
        stu.setMale(true);
        System.out.println("我叫"+stu.getName());
        System.out.println("年龄"+stu.getAge());
        System.out.println("是不是男的"+stu.isMale());
    }
}
